package com.smarthome.domain.ipc.req;

import com.smarthome.domain.ipc.IpcConstants;

/**
 * 海康门口机请求对象。
 * 
 * 
 * @author KongXiangyu
 * 
 * @since 1.0
 */
public class HkIpcResidenceDoorOpRequest extends IpcResidenceDoorRequest {
	private static final long serialVersionUID = 1L;
	private String userName = "admin";// 设备登录用户名,,默认为admin
	private String psd = "L@123456";// 设备登录密码,默认为L@123456
	private Long doorindex = IpcConstants.IPC_COMMAND_RESIDENCE_DOOR_HK_INDEX_ALL;// 门禁序号，从1开始，-1表示对所有门进行操作
	private String doorOp = IpcConstants.IPC_COMMAND_RESIDENCE_DOOR_HK_OPEN;// 门禁动作。默认为开门

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPsd() {
		return psd;
	}

	public void setPsd(String psd) {
		this.psd = psd;
	}

	public Long getDoorindex() {
		return doorindex;
	}

	public void setDoorindex(Long doorindex) {
		this.doorindex = doorindex;
	}

	public String getDoorOp() {
		return doorOp;
	}

	public void setDoorOp(String doorOp) {
		this.doorOp = doorOp;
	}

}
